package org.example.lotterysystem.service;
import org.apache.ibatis.annotations.Param;
import org.example.lotterysystem.controller.param.CreatePrizeParam;
import org.example.lotterysystem.controller.param.PageParam;
import org.example.lotterysystem.service.dto.PageListDTO;
import org.example.lotterysystem.service.dto.PrizeDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface PrizedService {
    PageListDTO<PrizeDTO>  findPrizeList(PageParam param);

    /**
     * 创建单个奖品
     * @param param
     * @param picFile
     * @return  奖品id
     */
    Long createPrize(CreatePrizeParam param, MultipartFile picFile);


}
